<template>
	<div>child_2</div>
	<div>aaa: {{ aaa }}</div>
</template>

<script setup lang="ts">
	import { ref, inject } from 'vue'
	let bbb: any = inject('aaa')
	let aaa = ref(bbb.value)
	console.log(aaa);
	setTimeout(()=>{
		aaa.value = 2
	}, 2000)
</script>

<style>
</style>